package bank.service.department;


import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import bank.service.Dispatcher;

public class DepartmentEntityService extends Dispatcher {	
	/**
	 * Initialization of the servlet. <br>
	 *
	 * @throws ServletException if an error occure
	 */
	public void init() {
		// Put your code here
	}

	public void performServiceLogic(HttpServletRequest request, HttpServletResponse response) throws Exception {
		System.out.println("This is DepartmentService");
		this.printRequestParams(request);
	}
	
	private void printRequestParams(HttpServletRequest request) {
		System.out.println("Insert Request Param...");
		System.out.println(request.getParameter("entityId"));
		System.out.println(request.getParameter("requestType"));
	}
	
	
	private static final long serialVersionUID = 1L;
}
